package cn.lopr.im.api.service;

import cn.lopr.im.api.bean.Message;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author shuangyang7
 * @date 2020/12/22 18:30
 */
@Transactional
public interface IMessageService {
    boolean addMessage(Message message);

    List<Message> getNotReadMessage(String phone);
}
